import {request} from '../utils/request'
//获取首页导航
export function Navbar(){
  return request({
    url:'/nav/get',
    method:"post",
  })
}
//获取新闻列表
export function news(data){
  return request({
    url:'/news/get',
    method:"post",
    data
  })
}
//获取新闻详情
export function newsDetail(data){
  return request({
    url:"/news/detail",
    method:"POST",
    data
  })
}
//获取产品列表
export function Navproduct(data){
  return request({
    url:"/product/getlist",
    method:"POST",
    data
  })
}
//获取产品详情
export function queryProductDetail(data){
  return request({
    url:"/product/detail",
    method:"POST",
    data
  })
}